<template>
    <div class="demo-input-suffix">
        <el-input class="no" type="text" v-model="reportNo" placeholder="请输入报告编号"></el-input>
        <el-button class="select" @click="findbyQuailyAdmin"  type="primary">查询</el-button>
        <el-button icon="el-icon-plus"  class="save" @click="addProductHandle"  type="primary">添加</el-button>
      </div>

</template>

<script>
export default {
  data(){
    return {
      reportNo:''
    }
  },
  methods: {
    addProductHandle(){
        this.$bus.$emit("onAddPredictionAdd",true)
    },
    findbyQuailyAdmin(){
      this.$emit("searchReportNoPrediction",this.reportNo)
    }
  }

}
</script>

<style scoped>

.demo-input-suffix{
  margin-top: 20px;
  text-align: left;
}
.select{
  margin-left: 10px;
}

.save{
   margin-left: 10px;
   border: none;
   border: 2px solid #409EFF;
   background-color: white;
   color: #409EFF;
   height: 40px;
}
.no{
  width: 200px;
}
</style>